#include <transforms.hpp>

namespace ohe_framework
{
    radon::radon(int _rows, int _cols)
    {
        rows = _rows;
        cols = _cols;
        row = new int[cols];
        col = new int[rows];
        if(row==0)
        {
            printErrorMessage("Cannot not allocate memory ");
            //return false;
        }
        if(col==0)
        {
            printErrorMessage("Cannot not allocate memory ");
            //return false;
        }
    }
    radon::~radon()
    {
        release();
    }
    void radon::release()
    {
        if(row!=0)
            delete[] row;
        if(col!=0)
            delete[] col;
    }
}//// end namespace ohe_framework

